package com.example.xxljobtest.demos.web;

import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
@Slf4j
@Component
public class TaskHandler {

    @XxlJob("test01Handler")
    public  void test01Handler() {
        log.info("xxl-job, hello world.");
    }
}
